package com.example.superoa.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.util.List;


/**
 * The persistent class for the roffer database table.
 * 
 */
@Entity
@NamedQuery(name="Roffer.findAll", query="SELECT r FROM Roffer r")
public class Roffer implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int rofferid;

	private int rofferzhuan;

	//bi-directional many-to-many association to Rbiographical
	@ManyToMany
	@JoinTable(
		name="roffer_rbiographical"
		, joinColumns={
			@JoinColumn(name="rofferid")
			}
		, inverseJoinColumns={
			@JoinColumn(name="reasyid")
			}
		)
	private List<Rbiographical> rbiographicals;

	public Roffer() {
	}

	public int getRofferid() {
		return this.rofferid;
	}

	public void setRofferid(int rofferid) {
		this.rofferid = rofferid;
	}

	public int getRofferzhuan() {
		return this.rofferzhuan;
	}

	public void setRofferzhuan(int rofferzhuan) {
		this.rofferzhuan = rofferzhuan;
	}

	public List<Rbiographical> getRbiographicals() {
		return this.rbiographicals;
	}

	public void setRbiographicals(List<Rbiographical> rbiographicals) {
		this.rbiographicals = rbiographicals;
	}

}